home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group97a.txt / 000066_icon-group-sender _Tue Mar 4 08:20:39 1997.msg < prev    next >
Internet Message Format  |  2000-09-20  |  16KB

  1. Received: by cheltenham.cs.arizona.edu; Tue, 4 Mar 1997 14:44:17 MST
  2. To: icon-group@cs.arizona.edu
  3. Date: 4 Mar 1997 08:20:39 -0700
  4. From: icon-project@cs.arizona.edu
  5. Message-Id: <5fhek7$1p5@cheltenham.CS.Arizona.EDU>
  6. Organization: University of Arizona CS Department, Tucson AZ
  7. Sender: icon-group-request@cs.arizona.edu
  8. Reply-To: icon-project@cs.arizona.edu
  9. Subject: Icon Programming Language FAQ
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11. Status: RO
  12. Content-Length: 14760
  13.  
  14. Archive-name: comp-lang-icon-faq
  15. Posting-Frequency: monthly
  16.  
  17.  
  18.  
  19. Frequently Asked Questions About The Icon Programming Language
  20.  
  21. Last updated: December 11, 1996
  22.  
  23. This FAQ answers various questions about the Icon programming language,
  24. ranging from what it is to how you can get it. The master copy of this FAQ
  25. is the Web page http://www.cs.arizona.edu/icon/faq.html. Other on-line
  26. documentation is available via the main Icon page at
  27. http://www.cs.arizona.edu/icon/.
  28.  
  29. This FAQ is written by Ralph Griswold and Gregg Townsend, with help from
  30. Cliff Hathaway, Clint Jeffery, and Bob Alexander.
  31.  
  32.    * 1. What is Icon?
  33.    * 2. What is Icon good for?
  34.    * 3. Where did Icon come from?
  35.    * 4. What does "Icon" stand for?
  36.    * 5. On what computers does Icon run?
  37.    * 6. Who did all these implementations?
  38.    * 7. Are there other implementations in the works?
  39.    * 8. What about different versions of Icon?
  40.    * 9. Which implementations of Icon have graphics/window capabilities?
  41.    * 10. Where can I get Icon?
  42.    * 11. Where can I get documentation about Icon?
  43.    * 12. How do I get started with Icon?
  44.    * 13. What is the Icon Project?
  45.    * 14. Where can I find examples of Icon programs?
  46.    * 15. What is Idol?
  47.    * 16. How often is material in Icon's FTP area updated?
  48.    * 17. How do I stay up to date with what's going on with Icon?
  49.    * 18. Is there a users' group for Icon?
  50.    * 19. How do I get technical support?
  51.    * 20. What do I need to run Icon?
  52.    * 21. Can I build my own implementation of Icon for a new platform?
  53.  
  54. ----------------------------------------------------------------------------
  55.  
  56. 1. What is Icon?
  57.  
  58. Icon is a very high level general-purpose programming language with
  59. extensive features for processing strings (text) and data structures. Icon
  60. is an imperative, procedural language with a syntax that is reminiscent of C
  61. and Pascal, but its semantics are at a much higher level than those
  62. languages.
  63.  
  64. Icon has a novel expression-evaluation mechanism that integrates
  65. goal-directed evaluation and backtracking with conventional control
  66. structures. It has a string scanning facility for pattern matching that
  67. avoids the tedious details usually associated with analyzing strings. Icon's
  68. built-in data structures include sets and tables with associative lookup,
  69. lists that can be used as vectors or stacks and queues, and records.
  70.  
  71. Icon is a strongly, though not statically, typed language. It provides
  72. transparent automatic type conversion. For example, if an integer is used in
  73. an operation that requires a string, the integer is automatically converted
  74. to a string.
  75.  
  76. Several implementations of Icon have high-level graphics facilities with an
  77. easily programmed window interface.
  78.  
  79. Icon manages storage automatically. Objects are created as needed during
  80. program execution and space is reclaimed by garbage collection as needed.
  81. The sizes of strings and data structures are limited only by the amount of
  82. available memory.
  83.  
  84. 2. What is Icon good for?
  85.  
  86. As a general-purpose programming language with a large computational
  87. repertoire, Icon can be used for most programming tasks. It's at its best
  88. when used build software tools, for processing text, and when ease of
  89. programming is needed for experimental and research applications.
  90.  
  91. Paradoxically, Icon is used most often for short, one-shot tasks and for
  92. very complex applications.
  93.  
  94. Icon is designed to make programming easy; it emphasizes the value of
  95. programmer's time and the importance of getting programs to work quickly.
  96. This explains its usefulness for prototyping as well as the apparent paradox
  97. of applicability to simple and complex applications.
  98.  
  99. 3. Where did Icon come from?
  100.  
  101. Icon is the latest in a series of high-level programming languages designed
  102. to facilitate programming tasks involving strings and structures. The
  103. original language, SNOBOL, was developed at Bell Telephone Laboratories in
  104. the early 60s. SNOBOL evolved into SNOBOL4, which is still in use.
  105. Subsequent languages were developed at The University of Arizona with
  106. support from the National Science Foundation.
  107.  
  108. Incidentally, Icon bears little physical resemblance to SNOBOL4, although it
  109. has similar objectives and many similar capabilities.
  110.  
  111. 4. What does "Icon" stand for?
  112.  
  113. The name Icon (which is not spelled ICON) is not an acronym nor does it
  114. stand for anything in particular, although the word "iconoclastic" was
  115. mentioned at the time the name was chosen. The name predates the now common
  116. use of "icon" to refer to small images used in graphical user interfaces.
  117. This latter usage sometimes causes persons to think mistakenly that Icon is
  118. designed to create or manipulate icons. There's not much that can be done
  119. about this.
  120.  
  121. 5. On what computers does Icon run?
  122.  
  123. The implementation of Icon is highly portable. Version 9 runs on UNIX,
  124. MS-DOS, Windows, NT, Macintosh/MPW, VAX/VMS, the Amiga, and the Acorn
  125. Archimedes. There are older versions for the Atari ST, IBM CMS and MVS, the
  126. Macintosh, and OS/2.
  127.  
  128. Icon programs also are highly portable. Most Icon programs can run on any
  129. platform that supports Icon.
  130.  
  131. 6. Who did all these implementations?
  132.  
  133. The original implementation of Icon for UNIX was done at The University of
  134. Arizona. Most of the other implementations originally were done by
  135. volunteers scattered around the world.
  136.  
  137. It's worth noting that all implementations of Icon are based on the same
  138. source code, which is written in C. This contributes to the portability of
  139. Icon itself, as well as to the portability of programs written in Icon.
  140.  
  141. 7. Are there other implementations in the works?
  142.  
  143. Work is constantly underway on implementations of Icon for new platforms.
  144. Microsoft Windows and Windows NT implementations are in beta testing.
  145.  
  146. 8. What about different versions of Icon?
  147.  
  148. Icon has evolved through a series of versions with improved and extended
  149. capabilities. The latest major version number is 9. This version includes
  150. recent changes and additions, notably in the graphics area, and runs on
  151. UNIX, MS-DOS, Macintosh/MPW, VAX/VMS, the Amiga, and Acorn Archimedes. Other
  152. implementations presently are at Version 8. Almost all programs that run
  153. under Version 8 and that do not use graphics will run under Version 9.
  154.  
  155. 9. Which implementations of Icon have graphics/window capabilities?
  156.  
  157. Icon's graphics facilities presently are supported on UNIX and VAX/VMS.
  158. Windows NT and Microsoft Windows implementations that support Icon's
  159. graphics facilities are in beta testing.
  160.  
  161. 10. Where can I get Icon?
  162.  
  163. Icon is available via anonymous FTP and on the Web. For FTP, use
  164.  
  165.      ftp.cs.arizona.edu
  166.  
  167. and cd /icon.
  168.  
  169. For the Web, use
  170.  
  171.      http://www.cs.arizona.edu/icon/
  172.  
  173. and check out the links there.
  174.  
  175. For FTP, the directory /icon/binaries contains executable versions of Icon
  176. for several systems, including several popular UNIX platforms. The directory
  177. /icon/packages contains source code, test programs, related material, and,
  178. most cases, executable binaries as well. All directories have README files
  179. with additional information.
  180.  
  181. 11. Where can I get documentation about Icon?
  182.  
  183. The definitive work on Icon is the book
  184.  
  185.      The Icon Programming Language, Griswold and Griswold, third
  186.      edition, Peer-to-Peer Communications, Inc, 1996, 386 pages, ISBN
  187.      1-57398-001-3.
  188.  
  189. This book is a complete description and reference manual for Version 9 of
  190. Icon. A technical report describes changes since that version.
  191.  
  192. There also is a book on the implementation of Icon:
  193.  
  194.      The Implementation of the Icon Programming Language, Griswold and
  195.      Griswold, Princeton University Press, 1986, 336 pages, ISBN
  196.      0-691-08431-9.
  197.  
  198. This book describes the implementation as of Version 6 of Icon. Although the
  199. implementation has changed considerably since then, the basic structure is
  200. the same. Technical reports describing recent implementation changes are
  201. included with copies of the book purchased from the Icon Project.
  202.  
  203. These books are available from the Icon Project.
  204.  
  205. Additional documentation is available via FTP in /icon/doc. Notable
  206. documents are:
  207.  
  208.    * IPD266: An Overview of Icon (text, PostScript, PDF)
  209.    * IPD281: Graphics/window facilities (PostScript, PDF)
  210.    * IPD278: Version 9.3 of Icon (text, PostScript, PDF)
  211.  
  212. There are manual pages for UNIX systems, and more documentation under the
  213. Icon web page, but there is no complete on-line documentation.
  214.  
  215. The Icon Newsletter, which includes topical material about Icon and a list
  216. of material available from the Icon Project, is published three times a year
  217. and is available on the Web. There is a subscription fee for an on-going
  218. subscription by postal mail. The Icon Analyst, a technically-oriented
  219. newsletter that features articles about programming, is published six times
  220. a year. There is a subscription fee for the Analyst. A sample copy is
  221. available on the Web.
  222.  
  223. All back issues of both newsletters are available for purchase.
  224.  
  225. 12. How do I get started with Icon?
  226.  
  227. If you're running under UNIX, check first in the /icon/binaries/unix FTP
  228. directory to see if there is a "starter kit" for your platform. Starter kits
  229. include executables, documentation, and other material.
  230.  
  231. Otherwise, go to the /icon/packages directory and get the appropriate
  232. package. Packages include documentation and other material; see the README
  233. file in that directory for more details. There is a UNIX package for
  234. platforms that lack starter kits.
  235.  
  236. If the non-UNIX package you pick up does not contain executable files, check
  237. /icon/binaries. You also may want to get the overview of Icon:
  238. /icon/doc/ipd266.txt or ipd266.ps.Z. You'll find pointers to other documents
  239. of interest in the package you pick up.
  240.  
  241. 13. What is the Icon Project?
  242.  
  243. The Icon Project is a name used by the group that develops, implements,
  244. distributes, and supports the Icon programming language.
  245.  
  246. The Icon Project is not commercial organization. It derives support from The
  247. University of Arizona, revenue from the sale of program material and
  248. documentation, and user contributions.
  249.  
  250. 14. Where can I find examples of Icon programs?
  251.  
  252. There is a large program library for Icon. It is an excellent resource for
  253. both new and experienced programmers. The library contains numerous examples
  254. of how to do things with Icon. The library also provides many useful
  255. applications, as well as hundreds of procedures that supplement Icon's
  256. built-in repertoire.
  257.  
  258. The library, like other Icon material, is available via FTP in
  259. /icon/library.
  260.  
  261. 15. What is Idol?
  262.  
  263. Idol is an object-oriented extension to Icon that provides concepts such as
  264. classes and multiple inheritance. Idol is written in Idol and is distributed
  265. as part of the Icon program library. Idol runs on almost all of the
  266. platforms that support Icon.
  267.  
  268. Additional Idol information is available from Clint Jeffery,
  269.  
  270.      jeffery@ringer.cs.utsa.edu.
  271.  
  272. 16. How often is material in Icon's FTP area updated?
  273.  
  274. New material is added when it's available. Established implementations
  275. usually are updated only when there's a new version. This typically is every
  276. year or two. The Icon program library is updated on a similar schedule.
  277.  
  278. 17. How do I stay up to date with what's going on with Icon?
  279.  
  280. The best way to find out about developments related to Icon is to read the
  281. Icon Newsletter.
  282.  
  283. You can stay up to date on the source code, which is changed much more
  284. frequently than the version on FTP is updated, by subscribing to the source
  285. update service, which provides a new version about twice a year.
  286.  
  287. There also is a subscription service for updates to the Icon program
  288. library, which provides new material about twice a year.
  289.  
  290. There is on-line information about subscribing to these services.
  291.  
  292. 18. Is there a users' group for Icon?
  293.  
  294. There is no official Icon users' group. The Icon Project maintains an
  295. electronic mailing list,
  296.  
  297.      icon-group@cs.arizona.edu.
  298.  
  299. Mail sent to this address is forwarded to subscribers. To subscribe (or
  300. unsubscribe), send a message to
  301.  
  302.      icon-group-request@cs.arizona.edu.
  303.  
  304. There is a gateway between icon-group and comp.lang.icon, an unmoderated
  305. newsgroup for discussing issues related to Icon. The gateway, which
  306. exchanges messages between the two systems, is imperfect and not under the
  307. control of the Icon Project.
  308.  
  309. The newsgroup generally provides faster response than the mailing list, is
  310. less intrusive, but sometimes suffers from inappropriate postings. The Icon
  311. Project usually sends messages of interest to the Icon community to
  312. icon-group.
  313.  
  314. 19. How do I get technical support?
  315.  
  316. The Icon Project is not a commercial organization, and its capacity for
  317. providing technical support is limited. Please use the appropriate resource
  318. when you need assistance:
  319.  
  320. Ordering Icon Material
  321.  
  322. mail:   Icon Project
  323.         Department of Computer Science
  324.         The University of Arizona
  325.         P.O. Box 210077
  326.         Tucson, Arizona 85721-0077
  327.         U.S.A.
  328.  
  329. fax:    (520) 621-4246
  330. voice:  (520) 621-6613
  331. e-mail: icon-orders@cs.arizona.edu
  332.  
  333. Getting On-Line Information and Material
  334.  
  335. web:    http://www.cs.arizona.edu/icon/
  336. ftp:    ftp.cs.arizona.edu (cd /icon)
  337. e-mail: ftpmail@cs.arizona.edu
  338.  
  339. Send a message consisting of the word help.
  340.  
  341. Assistance with Installing Icon
  342.  
  343. e-mail: icon-project@cs.arizona.edu
  344.  
  345. Bug Reports
  346.  
  347. e-mail: icon-project@cs.arizona.edu
  348. fax:    (520) 621-4246
  349.  
  350. Assistance with Programming Problems
  351.  
  352. e-mail: icon-group@cs.arizona.edu
  353. news:   comp.lang.icon
  354.  
  355. Uploading Files
  356.  
  357. ftp:    ftp.cs.arizona.edu (cd /incoming)
  358.  
  359. After uploading, send e-mail to icon-project@cs.arizona.edu.
  360.  
  361. 20. What do I need to run Icon?
  362.  
  363. Icon will run on most computers. Under MS-DOS, the Icon interpreter needs at
  364. least 500 KB of application RAM to work well.
  365.  
  366. 21. Can I build my own implementation of Icon for a new platform?
  367.  
  368. As mentioned above, Icon is written in C and the source code is available.
  369. The existing implementations are testament to its portability. (A small
  370. amount of assembly-language code is required for a context switch, but this
  371. is only needed for an optional feature -- co-expressions -- that can be
  372. disabled without affecting other features of Icon.)
  373.  
  374. New ports involve platform-specific configuration parameters and, in some
  375. cases, platform-specific code. The feasibility of a new port and the amount
  376. of work it may take depends on the platform -- its architecture, its C
  377. compiler, and its environment.
  378.  
  379. Ports to new UNIX platforms generally are easy, although novel architectures
  380. may present problems. Ports to new operating systems generally are more
  381. difficult, especially if Icon's graphics facilities are implemented.
  382.  
  383. The Icon Project provides what help it can with new ports. In return, it
  384. asks that code related to the port to be returned to the Icon Project for
  385. inclusion in future versions of the source code for Icon. This makes the new
  386. port available to others as well as to the porter when Icon is updated.
  387.